package hu.issue.ejb;

import hu.issue.entity.Milestone;
import hu.issue.exceptions.MilestoneNotFoundException;
import hu.issue.exceptions.TaskNotFoundException;

import java.util.List;

public interface MilestoneService {
	Milestone findMilestoneById(int id) throws MilestoneNotFoundException;

	void assignTaskToMilestone(int milestoneId, int taskId) throws TaskNotFoundException, MilestoneNotFoundException;

	List<Milestone> getMilestones();

}
